// 导入自己封装的axios实例对象
import request from '@/utils/request'

// 获取搜索建议
export const getSuggestionData = params=>{
  return request({
    url:'/v1_0/suggestion',
    params
  })
}

// 获取搜索结果
export const getSearchResult = params=>{
  return request({
    url:'/v1_0/search',
    params
  })
}